#ifndef QUEUESET_HPP
#define QUEUESET_HPP

#include "queue.hpp"
#include <vector>
#include <ctime>
#include <cstdlib>

class TaskManager;

class QueueSet {

public:
    QueueSet(int n);
    ~QueueSet();

    int size() { return _n; }
    Queue* get_queue(int i) { return queues[i]; }
    Task* steal(int id, TaskManager* tm);

private:
    //Queue** queues;
    int _n;
    std::vector<Queue*> queues;

};

#endif
